package com.imy.common.util;

import android.util.Log;

public class ALog {
    private static final boolean LOG_OPEN=true;
    private static final String DEFAULT_TAG="LuaScript";
    private static final String TOUCH_TAG="touch";
    public static void i(String msg){
        if (LOG_OPEN){
            Log.i(DEFAULT_TAG,msg +"线程："+Thread.currentThread());
        }
    }
    public static void i(String tag,String msg){
        if (LOG_OPEN){
            Log.i(tag,msg+"线程："+Thread.currentThread());
        }
    }
    public static void ti(String msg){
        if (LOG_OPEN){
            Log.i(TOUCH_TAG,msg);
        }
    }
    public static void te(String msg){
        if (LOG_OPEN){
            Log.e(TOUCH_TAG,msg);
        }
    }
    public static void e(String msg){
        if (LOG_OPEN){
            Log.e(DEFAULT_TAG,msg);
        }
    }
}
